<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>

    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>

    <link rel="shortcut icon" href="/favicon.ico" />

  </head>
  <body>

<?php
$buttons = array(
  "Home" => "homepage/index",
  "Academy" => "academy/index",
  "Simulations" => "simulations/index",
  "Personnel" => "personnel/index"
);
?>

    <div id="div_header">
      <div id="div_header_left">
        <div id="div_sitename"></div>
      </div>
      <div id="div_header_right">
        <!-- login etc. -->
      </div>
    </div>

    <div id="div_centre">
      <div id="div_sidebar">
        <div id="div_sidebar_logo"></div>
        <div id="div_sidebar_nav">
          <!-- section links -->
          <?php foreach ( $buttons as $key => $value ): ?>
          <a class="button-nav-anchor" href="<?php echo url_for( $value ); ?>">
            <div class="button-nav">
              <div class="button-nav-mask">
                <?php echo $key; ?>
              </div>
            </div>
          </a>
          <?php endforeach; ?>
        </div>
      </div>
      <div id="div_content">
        <?php echo $sf_content ?>
      </div>
    </div>

  </body>
</html>
